<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/geo3dml/CuboidVolume.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_acc7f90eaa859a07dba55a8b62805b11.html">geo3dml</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">CuboidVolume.h</div></div>
</div><!--header-->
<div class="contents">
<a href="geo3dml_2_cuboid_volume_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// UTF-8编码</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &quot;<a class="code" href="_volume_8h.html">Volume.h</a>&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegeo3dml.html">geo3dml</a> {</div>
<div class="foldopen" id="foldopen00008" data-start="{" data-end="};">
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_cuboid_volume.html">    8</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classgeo3dml_1_1_cuboid_volume.html">CuboidVolume</a> : <span class="keyword">public</span> <a class="code hl_class" href="classgeo3dml_1_1_volume.html">Volume</a> {</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_cuboid_volume.html#a8a0d5caaa122e3c56e2ce96599b3b75d">   10</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_cuboid_volume.html#a8a0d5caaa122e3c56e2ce96599b3b75d">CuboidVolume</a>();</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_cuboid_volume.html#a64ec81863b9f24bfbc7a5bc49511aef0">   11</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classgeo3dml_1_1_cuboid_volume.html#a64ec81863b9f24bfbc7a5bc49511aef0">~CuboidVolume</a>();</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_cuboid_volume.html#a9bc2d15d04a1eed3ef1c291602a5df9c">   20</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classgeo3dml_1_1_cuboid_volume.html#a9bc2d15d04a1eed3ef1c291602a5df9c">AppendVertex</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z) = 0;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_cuboid_volume.html#a24a332de589412634cdc8c84f68fd437">   21</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classgeo3dml_1_1_cuboid_volume.html#a24a332de589412634cdc8c84f68fd437">GetVertexCount</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_cuboid_volume.html#ac758955d668406a4c0605512743efacc">   22</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgeo3dml_1_1_cuboid_volume.html#ac758955d668406a4c0605512743efacc">GetVertexAt</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">double</span>&amp; x, <span class="keywordtype">double</span>&amp; y, <span class="keywordtype">double</span>&amp; z) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_cuboid_volume.html#a5e4b2a5ff31d9ff49dcf1d9ba87c4ad9">   31</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classgeo3dml_1_1_cuboid_volume.html#a5e4b2a5ff31d9ff49dcf1d9ba87c4ad9">AppendCuboid</a>(<span class="keywordtype">int</span> v1, <span class="keywordtype">int</span> v2, <span class="keywordtype">int</span> v3, <span class="keywordtype">int</span> v4, <span class="keywordtype">int</span> v5, <span class="keywordtype">int</span> v6, <span class="keywordtype">int</span> v7, <span class="keywordtype">int</span> v8) = 0;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_cuboid_volume.html#a05be7ee0c14f74b37945e8cc2a7e27e0">   32</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classgeo3dml_1_1_cuboid_volume.html#a05be7ee0c14f74b37945e8cc2a7e27e0">GetCuboidCount</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_cuboid_volume.html#ae31446c2aca37466dd7fd91cc465fc44">   33</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgeo3dml_1_1_cuboid_volume.html#ae31446c2aca37466dd7fd91cc465fc44">GetCuboidAt</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span>&amp; v1, <span class="keywordtype">int</span>&amp; v2, <span class="keywordtype">int</span>&amp; v3, <span class="keywordtype">int</span>&amp; v4, <span class="keywordtype">int</span>&amp; v5, <span class="keywordtype">int</span>&amp; v6, <span class="keywordtype">int</span>&amp; v7, <span class="keywordtype">int</span>&amp; v8) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>    };</div>
</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>}</div>
<div class="ttc" id="a_volume_8h_html"><div class="ttname"><a href="_volume_8h.html">Volume.h</a></div></div>
<div class="ttc" id="aclassgeo3dml_1_1_cuboid_volume_html"><div class="ttname"><a href="classgeo3dml_1_1_cuboid_volume.html">geo3dml::CuboidVolume</a></div><div class="ttdoc">大小不一的六面体（如长方体）单元构成的体。从v2版本开始支持。</div><div class="ttdef"><b>Definition</b> CuboidVolume.h:8</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_cuboid_volume_html_a05be7ee0c14f74b37945e8cc2a7e27e0"><div class="ttname"><a href="classgeo3dml_1_1_cuboid_volume.html#a05be7ee0c14f74b37945e8cc2a7e27e0">geo3dml::CuboidVolume::GetCuboidCount</a></div><div class="ttdeci">virtual int GetCuboidCount() const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_cuboid_volume_html_a24a332de589412634cdc8c84f68fd437"><div class="ttname"><a href="classgeo3dml_1_1_cuboid_volume.html#a24a332de589412634cdc8c84f68fd437">geo3dml::CuboidVolume::GetVertexCount</a></div><div class="ttdeci">virtual int GetVertexCount() const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_cuboid_volume_html_a5e4b2a5ff31d9ff49dcf1d9ba87c4ad9"><div class="ttname"><a href="classgeo3dml_1_1_cuboid_volume.html#a5e4b2a5ff31d9ff49dcf1d9ba87c4ad9">geo3dml::CuboidVolume::AppendCuboid</a></div><div class="ttdeci">virtual int AppendCuboid(int v1, int v2, int v3, int v4, int v5, int v6, int v7, int v8)=0</div><div class="ttdoc">指定构成体元的8个顶点，添加一个六面体体元。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_cuboid_volume_html_a64ec81863b9f24bfbc7a5bc49511aef0"><div class="ttname"><a href="classgeo3dml_1_1_cuboid_volume.html#a64ec81863b9f24bfbc7a5bc49511aef0">geo3dml::CuboidVolume::~CuboidVolume</a></div><div class="ttdeci">virtual ~CuboidVolume()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_cuboid_volume_html_a8a0d5caaa122e3c56e2ce96599b3b75d"><div class="ttname"><a href="classgeo3dml_1_1_cuboid_volume.html#a8a0d5caaa122e3c56e2ce96599b3b75d">geo3dml::CuboidVolume::CuboidVolume</a></div><div class="ttdeci">CuboidVolume()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_cuboid_volume_html_a9bc2d15d04a1eed3ef1c291602a5df9c"><div class="ttname"><a href="classgeo3dml_1_1_cuboid_volume.html#a9bc2d15d04a1eed3ef1c291602a5df9c">geo3dml::CuboidVolume::AppendVertex</a></div><div class="ttdeci">virtual int AppendVertex(double x, double y, double z)=0</div><div class="ttdoc">添加一个顶点。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_cuboid_volume_html_ac758955d668406a4c0605512743efacc"><div class="ttname"><a href="classgeo3dml_1_1_cuboid_volume.html#ac758955d668406a4c0605512743efacc">geo3dml::CuboidVolume::GetVertexAt</a></div><div class="ttdeci">virtual bool GetVertexAt(int i, double &amp;x, double &amp;y, double &amp;z) const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_cuboid_volume_html_ae31446c2aca37466dd7fd91cc465fc44"><div class="ttname"><a href="classgeo3dml_1_1_cuboid_volume.html#ae31446c2aca37466dd7fd91cc465fc44">geo3dml::CuboidVolume::GetCuboidAt</a></div><div class="ttdeci">virtual bool GetCuboidAt(int i, int &amp;v1, int &amp;v2, int &amp;v3, int &amp;v4, int &amp;v5, int &amp;v6, int &amp;v7, int &amp;v8) const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_volume_html"><div class="ttname"><a href="classgeo3dml_1_1_volume.html">geo3dml::Volume</a></div><div class="ttdoc">体数据的基类。</div><div class="ttdef"><b>Definition</b> Volume.h:9</div></div>
<div class="ttc" id="anamespacegeo3dml_html"><div class="ttname"><a href="namespacegeo3dml.html">geo3dml</a></div><div class="ttdef"><b>Definition</b> AbstractMetadata.h:6</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
